package com.worthtech.billportal.dao.hibernate;

import java.util.List;

import com.worthtech.billportal.bean.BillHintmessage;
import com.worthtech.billportal.dao.HintmessageDAO;
import com.worthtech.billportal.util.AbstractManager;

public class HintmessageHibernateDAO extends AbstractManager implements HintmessageDAO {

	public BillHintmessage getHintmessage(int id) {
		return (BillHintmessage)this.get(BillHintmessage.class,/*id*/Integer.valueOf(id));
	}

	public List getHintmessageList(String organizationCode) {
		return this.find(" from BillHintmessage where OrganizationCode=?",organizationCode);
	}
	
}
